<!DOCTYPE html>
<html>
<head>
    <title>通过CSV表格批量导入数据</title>
</head>
<meta charset="utf-8">
<body>
<b>请点击下面的按钮下载CSV模板文件，按照模板格式填写数据后上传。</b>
<a href="../script/hosts.csv" download="hosts.csv">
    <button class="download-button">下载模板</button>
</a>

<form action="csvupload2.php" method="post" enctype="multipart/form-data">
    <input type="file" name="csvfile" id="csvfile" accept=".csv" required>
    <br><br>
    <input type="submit" value="上传数据">
</form>

</body>
</html>